﻿using System;
using System.Collections.ObjectModel;

namespace Renren.Models
{
    public class BlogModel : Model
    {
        public long BlogId { get; set; }
        public long UserId { get; set; }
        public string Name { get; set; }
        public string HeadUrl { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime UpdateTime { get; set; }
        public long ViewCount { get; set; }
        public long CommentCount { get; set; }
        public PrivacyType Visable { get; set; }
        public ObservableCollection<CommentModel> CommentList { get; set; }

        public override long Id
        {
            get { return BlogId; }
        }
    }
}
